#include <stdio.h>
//#include <math.h>

int main(){
	int line = 0;
	int i = 0;
	int j = 0;
	while(scanf("%d",&line) != EOF){
		for(i = 0; i < line; i++){
			for(j = 0; j < line - i - 1; j++){
				printf("  ");
			}
			for(; j < line;j++){
				printf("* ");
			}
			printf("\n");
		}	
	}
	return 0;
}

